package com.pz.cloud.framework.business.glory.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pz.cloud.framework.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@TableName("glory")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="荣誉", description="荣誉")
public class Glory extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "编码")
    private String code;//编码

    @ApiModelProperty(value = "规则")
    private String rule;

    @ApiModelProperty(value = "规则说明")
    private String remark;

}
